package com.ceadeal.admin.mapper.article;

import com.ceadeal.admin.entity.Article;
import com.ceadeal.admin.util.BaseMapper;
import com.ceadeal.admin.vo.param.SearchParams;

import java.util.List;

/**
 * 文章 Mapper
 *
 * @author Westin Yang
 * @date 2017-04-02 21:52:39
 */
public interface ArticleMapper extends BaseMapper<Article> {

    List<Article> findListByPaging(SearchParams sp);

    int getCountByPaging(SearchParams sp);

}
